fix undefined #href notice