fix bug args for double