Clean firebase reference