fix build, reported by Denis Fateyev