fixed array overflow in storyboard parser