fix for NPE
gems can now spawn