Fix n undefined or empty string for head function
Merge remote-tracking branch 'origin/master'