fixed an issue from #336 with extension commands