Bugfix for ensure line