making the source free of errors