was not getting connected values correctly, bug fixed