fixed the removing iamge view problem, and removed database id auto increment