fixed but for server catalog
error reporting in case of redirect