fixes on graphics