fix overstrict :<path> diagnosis