fixed justification bug