fixed ws config, all methods are now correctly invoked