fix page loading twice (thx for reporting bibim)