Fixed other compiler warnings