themes bugfix ordering arrays