print error, remove debug