fixes modes