fix issue with local uploads and paperclip

fix configs