fix property detection