fix bugs from site revision