Fix duplicate module insert on installation