fixed readonly mode