added function to avoid conflict while entering text in form