slightly fixed sptsh after refactoring stuff cause I forgot earlier
a small bugfix. also, fixed something that just didn't work