debug a lot of bugs w/ key unlocking