handle all entry content  sanity check at the same place