Hack to wait for properties to be set