prevent error for json lists when no result
correctly delete cookie in forums