fixed line type
fixed some elements