layout fix. event binding