fix some issues while getting the contacts

Signed-off-by: Lehner Florian <dev@der-flo.net>