fixed max length error