Fix to human mode and exit app function