Strip modules properly