fix errors and removed tableview lines