Fixed error with emps sub command