minor bug fixes (spatial relationship not checkbox)