remove unused global
allow debugging release build