bugfix load profile file