debugging exercises fixed