bug fix: switched a statement from development to production mode