be more robust here, not sure why this would happen