actually fixed mimemap library