Added missing preventDefault