Fixes number format exception;