Fixed an issue with release build mode.