Fixed some compiler warnings~