fixed readonly repository