fixed nil commands