contacts model bugfix