Setting correct content type