fixed nil-output