fix delete and devise edit