fixed #27 - worked for stand-alone not integrated server

Signed-off-by: Paul Marrington <paul@marrington.net>