fixed bug where it wouldn't compile on server