profile api: discovered a bug in glue