correct array format