fixed properties bug.