alter version for middleman compatiblity