remove postcmd