Fix #180 preparse hook problem