fixed incorrect array for custom avatar