fixed some small warnings