fix for displaying headicon while using props