sys_thread done
bug in threads fixed