modify form checking
clear database