set dtype for space test values