Bugfix for setting up axes