Bug fix for app path