changed occurences of objects.get with objects.filter