fixed same mistake I always make with arrays