add warn method
add loading button method