One pain solved wrong array