bugfix
fix Mono/Ubuntu compatibility problems