fix properties dialog