Fix bug in axis