Fix invalid()
Ready Submission 1