fixing bug: server runs after compilation but loading files are not successful