add more exit functions

fix signature check for liasonFunc