fix in getting coins to map