fix for 1255 added 1 pixel margin between border and top note