moved to array singleton, fixed some ios7 issues,