added check for invalid new spot inputs