fix bug margin