fix edit background and process paperclip images