rebuild in middleman