bugfix for delete contact, changed import of api