remove stupid mode statement