Remove list from variable