bug entity framework