fix stay bug