models: oops list index error