Fixed passing of string as amount instead of integer