fix drop table script
fix buy form validation