call privUnprivileged and clear some warnings