Fixed two bugs causing strict warnings