add case of return void, fix compare op and param decl part