show error when a program is wrong

fixes #3