edit deprecated stuffs