no titlebar and screen oreintion
add error handle