fixed db loading

and create png icons