restricting mime-type on 1.8.7