fixed small bug with .preventDefault() method