replace some varible with constant