fixes bug related with using CONTAINER_URI and STATIC_CONTAINER