fixed weird bug with list