fix properties bug