bad command endpoint in del function