fixed a problem with a list