small fixes
particle xy scale
some util funcs