fix qualifier
remove needless prototypes
comment out codes