Fixed observe.off() bug with correct variables