Fix restricts