actually fixed df error output this time