fix nil pointer