temporary fix in Array for rewrite map lookup