Fix class casting error and remove a duplicate line from beam center
refinement instructions