Fix wrong generated content-type