fixed time range bug and updated space range