Fixed db:connected trigger