prepare deploy statment into before_deoy
fixed type {}.