Finally fixed spawn bug. Still no idea why it was happening though

Signed-off-by: StevenRS11 <stevenrs11@aol.com>