Fixed obvious and dumb mistakes

Credit to Randall (@rclarkburns)