null error in escape filter