bug fixes

fix divide by zero and hide zero expected file targets.