fixed the unlimited dim thing