Fixes error with compiling