Draining and rinsing the beans to remove the metallic flavor along with removing excess salt and starch. This will improve the overall flavor.