shouldn't this array_merge depend on the dev mode ?