Clean chucking code