remove non-int warning for array indexes
lessions button is gray