Fix stpcpy warning on application load