graphics fixes