Fix for delete account for rest