Fix page number not being resetted (temporary)