refactor: calling next func
convert space to tab