remove unused load pickle function