fix validator required - trimed value in check value