Fixed stagin bug in develop branch