Added properly assign value to $table