Bugfix: preg_replace should have been str_replace, no RE used