add error macros and the progammer can run again