Fixed small bugs on worker side, and added the status hierarchy