attempt to fix error with command passing