Don’t insert useless data into database