count free mod error fixes