Fix db:populate bug