fix double treasure room bug