fix 14; exit with code 1 if there is some error