Fixed unclear variables in margin methods