should probably fix the edit when adding bug