fixed left over autocast code