fix inner definition for array