temporarily fix #366

This is a stupid fix but should work.
And also I think it is time to change current array to something like cover template ( #581 ?). Once done, most bugs related to array will disappear.