fix to not assume single line assertion