updated mode problem