a few minor compatibility things