fix the bug that canvas can be shown to all the users