fixed compiler-errors