+ sub support osx
add xsleep