include selections in ace, fix some boundary condition errors