remove dependencies + fix recording bug