Hamilton happy with third in qualifying