fixed jquery validation issues