handled some small warnings