Trying to debug type undefined after parseFloat