remove lame related code