fix an issue with paperclip determing content type
order by FIFO