rotate - fix syntax in surrogate lib