fixed this brain dead script of this berger guy