add some error checking to axis retrieval