bugfix loading preferences.css