fix warning for no content