minor bugfix

works fine with server 0.5