Correct Validation,Fix bug and wrong spelling