misc
protect mode added