Fix for giving amounts > 64