fix bug relative to check all/uncheck all links