code refactoring
Fix "back to future" bug on graphs
fix code, use space instead of tab