avoid adding undefined content type