Fixed Warning: htmlentities() expects parameter 1 (#159)