compilation error bugfix