Repare application.cpp