remove unneeded condition to fix navigation in print preview