correction of bugs