fixed issue with 'c' command