Added a simple check for output_base