db and some strange print fix