Amount and readings cast bug fix