code generating bug fixes