Optimised the graphic card security