Fixed errors which were preventing compiling