make sure title and category do not overlap with amount