2007 nissan pathfinder front end noise

The car has a loud “clank” at excatly 12 mph after setting. sounds like a hammer hitting apiece of angle iron. the dealer replaced the hubs and bearings but the noise is still there. Any ideas? If you hold pressure on the brake pedal it will not make the noise until you take your foot off of the brake pedal.