fixes delete commands. closes #196