[#38] Bugfixes in _header and remove unused gems