bug fix on access rights