modify scala formats