fix for the varidation