correction in Export_pages function

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>