bugfix applying properties