just fixed the crashing issue (posted in the repo) by overriding the
ondestroy()