upgraded according with latest AlphaLemon CMS changes