fix compilation errors in address to coins