fixing browser security issue