sorted the errors-problem