Avoid creating not neccessary local variable
refs #857