Fixed errors in spacejam.core