bugs
fix compiling