still have bug, try connect to db