Corrected a wee bit of sloppy programming