Update src/application/utilities/misc.cpp