Fixed mime problems