Fix script error in View manager logs