validate_slength() does not do what you think it does