Minor bug in call to socket controller