fix for empty graphics