Fix double type length