fix bugs about datamart access!