pre-loaded margin bugfix