error messages starting to be outputted to nav error container
fixed bug in building next/prev links