caught a couple bugs