fixes bug #432 issue