modified some code; cataloger modified and have error