working on db object already connecting error