addressed issue with parsing div