change errors found by susanne