sort out self command