Fixed bug with contact input