fixed bug that prevented validation of supported mime types