cleanup

no more hardcoded value of max pages = 15