fixed btn bug