Fixed issue with release build that breaks everything