fixing modes again.