Fixed initializing cart