fix up code a bit