fixed mod compatiblity