Fixing delete buttons