fixed nullpointer in scaling policy because ID was null (shit happens)