fix issue while uploading new image via redactor;