fix no such property error