spesc and fixes