fix static patter causes issues w/ non-php apps