Removed two compiler warnings