fix code permission guest