Fix backend_for working correctly

Commands object was not set correctly.So I fix it.