troubles with compiling fixed