fixed reference to pages subdirectory