fix crash with no root