solved bug in container js