fixed issue whereby args couldn't be passed to ghci