study mod bug fix