Changed access denied to flash error