Remove error message from pd