bug fixing example