fixes readonly view style