Fixed bug with "." input