fix mime validation
add production config