bug fixed for user page pagination