fixes c90 and the stam dam update issue