Update checkValidation() and Fix some errors (set&get)