a few missing links and some error cleanup
fixed error display.