remove dead require statements