add ProgramContentVariablesController functions
fix undefined variable