fixes bug3