fix warning text and margin