change null by array