Fix bug when todo was on first line