udpated scaleProp util