fixed cached container generation bug