fixed use of not set variables
fixed wrong list import