fixed wrong initialization of the _pixel_data array