fix bug reported by arlimus. thx
rebuild