modify comments
allow error prefix to be changed