generalize add fix to pages