fix expanded check for graphics module