inserting bug solved