fixed test-errors