filter space repeat in for expressions