remove refactored php code