fix some errors PAST ion issues