nicer warnings in graph