Fixed type issue with wgsim output parsing