remove userless code