corrected some errors with modman