replace on_* with on