fixed bugs with compiling and logging