refactor clear axis