removing useless preventDefault