fixed public running of app