Fix a bug in .erlang and a typo in user_defaults.