change to valid code of loopback example