spawn fixes