ok,  had a hard time figuring out the issue with delete function and ended up missing it.