fixed double input support