mod readonly for input