preventing navigation click