attempt to fix nil error"