add entity filter for the line