defeated bug : nullPointerException