Fix error when trying to use base