fix landing page (errstr was not used correctly)