performCommand fixed