fix for double value