modify error str color & constants