Fix return value to 16 bits for 16 bit hook; remove leading space for