fix npe on container index #206