Error bug in graphics solved