fixed incorrect command placement