fixed warnings on OS X (maybe others also)