redefined state selector html