compiles in root directory instead of backend