restrict invalid access to differ elections