Removing maxlength that does not work