fix casey phase 1 bug