change frame work and bind event