use tdm_layer_commit instead of tdm_output_commit