refactoring
compatible OXID version EE, CE, PE