add live button and fix resize position