Fix for rmi command