previous commit is likely insufficient. the problem was that the variable 'status' was being used in two different contexts. using two different variables now.
Changed paths: