fix calculate container limit