fixed some issue when testing in outer space