delete ogllog and fix max_width