Correct silly use of double instead of long