fix center problem