removed unused variables in setContent