Fix bugs in provided code