Fixed commandr runtime error