remove nested array response