fixed bugs that prevented compiling