fixed part 2 bugs

Signed-off-by: Stuart Long <srl51@case.edu>