fixed df error