fix bug that directive share one scope