fixed bugs in catalog and got display to work