fixing DS for pagecontrollers