fix codes to specifiable base date