removed mime types check