martgin fix