#if...#endif
major fix
fix scopes