fixes bug which was introduced with new cash input feature