modify sultana.on function