Minor change in mime function in Helpers