changes to except error from graf code review