fix for array choice