[Fix] Fix some error and change style

and maybe enable dubuging :dancer: