fixed redirect on destroy and other small fixes