fix foundation import and badge margin