access denied bug fixed