fixed read_only_interface to be ready for merge