COSMIT better check for valid axis argument