added prev/next pagination
fixed capabilities reader