fixed defaultData code, now it passes the test