Fix for insufficient funds error. Attempt #1