string helper fixed, mime-type reverted