fixing weird list bug