fixed getting properties