Bug fixed : layout and template path
Bug Fixed : replace preg_replace by preg_replace_callback