minor fix for release mode / test on release & debug mode