Brentford avoided a huge FA Cup shock with a 1-0 win at sixth-tier Macclesfield on Monday but needed a late own goal to beat a side 116 places below them in the English football pyramid.