add error messages to alt parser