added some wierd behavior to bugs.