fix width barwidth remove console log