move constants
fixes for algo pagination