adjusting  spaces for log alignment.