fixed issue, where it could sometime not send, when the amount was a float