error messages and overoptimisation