Fixed bugs with connection to backend and node