fix mongoid deletion right after upload