fix no content logic