Properly get current credit value in add()

SR_get returns a string, use get() to cast to an int