Fixed complex parsing with [] and .