fixing application configuration bug with paperclip