fixed a bug where multiple view compilers would overwrite each other