Fixed problem with display rows