fixed multiple definition issue