add missing end line