fix duplicate gesture setup and remove debug