fixed some type issue regarding creation of spaceship