fix spacing between elements, resolve issue#5