Fix Invalid Data Access Trap Error in Window 11