Try to detect spaceapi better