fixed render problem in firefox
my regex expression was messed up