bugfixing delete