Fixed unreachable statements