remove dead got related code