Replace deprecated convs.limit() with convs.length()