Set content type in the correct place