fixed an issue center mode