Fixes properties from file