Fixing Lampcms API