fix another problem with generateglue