fixed server bugs to enable compiling in the context of parent assets