fix at how properties are created