fix incorect array