fixed missing line break if supplying a host_parent
cleaned up file