fix bug in image browse (mimetype)