Small fixes, clear db upon reload