fix user entry validation