fixes bugs and seeds data