some style and debug