correct axes handling