Fix warning if there is no rights setting