bugfix of compile error