fixed bug with preventDefault