text not change immediately