[*]: fixed php-warning: "Undefined offset"