fix work with 1.7.9 server (tested on windows)