setup Layout
fixed spark exception...