fix "unknown pragma" warning
really fix it
remove unused stuff