Fixed sprit builder crashing