diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 777235c..83e513e 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -85,7 +85,7 @@ module Rbpkg
<a href="./"><i class="fas fa-asterisk"></i> All logs</a>
</div>
<h1>
- <img src="#{img}" class="status-#{s.to_html}"/>
+ <img src="#{img}" class="status-#{s.to_s.to_html}"/>
#{name.to_html}
</h1>
<ul class="list-group">