Fixed the public button problems.